#!/bin/bash
#set if console return error code
set -eo pipefail
DATADIR=$1
#init mysql when the  dir is not exists
# if [ ! -d "$DATADIR/mysql" ]; then
# 		mkdir -p "$DATADIR"
# 		chown -R mysql:mysql "$DATADIR"
# fi
echo "$MYSQL_ROOT_PASSWORD" > /data/shell/init/test.text
